package com.ruoyi.business.approvalflow.enums;

// 审批状态枚举
public enum ApprovalFlowStatus {
    PENDING(0, "待审批"),
    APPROVED(1, "已通过"),
    REJECTED(2, "已拒绝"),
    RETURN(3, "已退回");

    private final int code;
    private final String description;

    ApprovalFlowStatus(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}